# -*- coding: UTF-8 -*-
# __author__ = 'Sengo'
from service.draw_2d_pic import draw


if __name__ == '__main__':
    # init data
    d = 3.8
    f = 1
    h = 0.5
    # ================graph1===================
    # you need to delete the annotation symbol but please show one graph for each time
    # 一次删除一块区域的备注来显示图片

    C = [-30, 3, 3]  # Camera position
    P = [-72.355003, -4.076000, 1.365000]
    V_prime = [0, 0.5, 0]  # Y-direction of camera
    graph_size = 10
    draw(C, P, V_prime, d, f, h, graph_size, True)


    # Perspective transform
    """
    # ================graph2===================

    C = [-10, 10, -10]  # Camera position
    P = [10.0, 12.0, 40.0]
    V_prime = [0, 0.5, 0]  # Y-direction of camera
    graph_size = 3
    draw(C, P, V_prime, d, f, h, graph_size, True)
    """

    # Perspective transform
    # ================graph3===================
    """
    C = [-0.5, -0.22, -2.3]  # Camera position
    P = [10.0, 12.0, 40.0]
    V_prime = [0, 0.5, 0]  # Y-direction of camera
    graph_size = 3
    draw(C, P, V_prime, d, f, h, graph_size, True)
    """
